// components/person/personSelect/personSelect.js
import Router from '../../../utils/easyRouter.js'//引入路由类
//创建路由子类
const Individual = new Router('/sonPage/person/individual/individual') 
const Setting = new Router('/sonPage/person/setting/setting')
const FeedbackBoss = new Router('/sonPage/person/feedbackBoss/feedbackBoss')

const toPersonMsg = new Router('/sonPage/person/personMsg/personMsg')
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    //定义一系列的跳转方法
    toIndividual(){
      Individual.to()
    },
    toSetting(){
      Setting.to()
    },
    toFeedback(){
      FeedbackBoss.to()
    },
    toPersonMsg(){
      toPersonMsg.to()
    }
  }
})
